<template>
<div>
  用户名:<input type="text" v-model="user" />
  <button type="submit" />
</div>
</template>
<script>
import config from './config'
import md5 from 'js/utils/md5'
//import SHA1 from 'sha1'
import { mapState, mapGetters, mapActions } from 'vuex'
export default {
  data() {
    return {
      user:'',
      pwd:''
    }
  },
  created() {
    this.initNimSDK({
      uid: 'pcq',
      sdktoken: '35f77d313aad5695068e16f0a3dd9790'
    })
  },
  methods: {
    ...mapActions({
      initNimSDK:'initNimSDK'
    })
  }
}
</script>
